<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue 模板语法</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
    <div id="app">
        <h2>{{title}}</h2>


        <p>Using mustaches: {{ rawHtml }}</p>
        <p>Using v-html directive: <span v-html="rawHtml"></span></p>

        <p> {{number + 1}} </p>

        <p v-if="seen">现在你看到我了</p>

        <p><a v-bind:href="siteurl">超链接</a></p>

        <p><a :href="siteurl">超链接缩写</a></p>

        <p v-on:click="doSomething">dom事件</p>
        <p @click="doSomething">dom事件缩写</p>

        <p>反转：{{reversedMessage}}</p>

        <p>{{fullName}}</p>




    </div>

    <script src="20180717-2.js"></script>
</body>
</html>